package com.example.javanewwork.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.javanewwork.entity.Repair;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RepairMapper extends BaseMapper<Repair> {





    @Insert("insert into repairs(buyer,phoneNumber,deviceName,faultDetails) VALUES (#{buyer},#{phoneNumber},#{deviceName},#{faultDetails})")
    void add(String buyer, String deviceName, String phoneNumber, String faultDetails);
}
